﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using SH.STD.DataProvider;
using SH.STD.Model;

namespace SH.STD.Web.Admin
{
    public partial class AwardList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Master.SetTab(TabType.Admin);
            var sql = "select * from ProjectAward order by id";
            var awards = DataAccess.GetDataTable(sql);
            this.rptAwards.DataSource = awards;
            this.rptAwards.DataBind();

            this.lblCnt1.Text = awards.Rows.Count.ToString();
        }
    }
}